Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@rpldy/simple-state
Advanced tools
deep proxy object, so it's only updateable through an update method
Internal package
Deep proxies an object so it is only updateable through an update callback. outside an updater, it is impossible to make changes
It only proxies simple objects (not maps or sets) and arrays
It doesnt create new references and doesnt copy over anything
Original object is changed!
The best place to get started is at our: React-Uploady Documentation Website
#Yarn:
$ yarn add @rpldy/simple-state
#NPM:
$ npm i @rpldy/simple-state
All exports of this package are considered internal API and may change/disappear in any version: patch/minor/major
import createState from "@rpldy/simple-state"
const { state, update } = createState({
arr: [1,2,3]
});
state.arr.push(4);
console.log(state.arr); // print [1,2,3]
update((state) => {
state.arr.push(4);
});
console.log(state.arr); // print [1,2,3,4]
1.9.0-rc.2 (2024-12-08)
[tus-sender]
- big refactor to handling parallel tus requests. Avoid 431 Request Header Fields Too Large error. Fix for #777[chunked-sender]
- respect parallel value while including in-progressall
- upgrade most dev depsci
- fix incorrect calculation of diff in bundle-size reportFAQs
deep proxy object, so it's only updateable through an update method
The npm package @rpldy/simple-state receives a total of 13,436 weekly downloads. As such, @rpldy/simple-state popularity was classified as popular.
We found that @rpldy/simple-state demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.